<div id="form">
<form id="" action="?ctrl=admin_user&action=check" method="post">
	<fieldset>
		<legend>Configuration user</legend>
		<ul>
			<li>
				<label for="login">Login<em> *</em></label>
				<input type="text" name="login" value="{$useredit->getLogin()} " id="" />
			</li>
			<li>
				<label for="password">Password<em> *</em></label>
				<input type="password" name="password" value="{$useredit->getPassword()}" id="" />
			</li>
			<li>
				<label for="avatar">Avatar</label>
				<input type="text" name="avatar" value="{$useredit->getAvatar()}" id="" />
			</li>
			<li>
				<label for="email">Email<em> *</em></label>
				<input type="text" name="email" value="{$useredit->getEmail()}" id="" />
			</li>
			<li>
				<label for="birthDate">Birth date</label>
				<input type="text" name="birthDate" value="{$useredit->getBirthDate()}" id="" />
			</li>
			<li>
				<label>Permision<em> *</em></label>
				<select name="id_users_permission">
				{foreach from=$userspermissions key=index item=data} 
				<option value="{$data->getIdUsersPermission()}">{$data->getName()}</option>
				{/foreach}
				</select>
			</li>
		</ul>
		<input id="submit" name="c" type="submit" value="{$editButton}" />
		<input type="hidden" name="id_user" value="{$useredit->getIdUser()}" />
	</fieldset>
</form>
</div>





